{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
{style href="style/`$agora_config.o_default_style`/common.css"}
{style href="style/`$agora_config.o_default_style`/index.css"}

<div class="ag_agora"> {* Fix for "merge topic" function *}

	<div class="ag_rightend">
		<h2 class="ag_headerbar"><span class="ag_middle">##Select Topic##</span></h2>
	</div>
	<div class="ag_outerwrap">
		<form method="post" action="{$url}">
			<fieldset class="ag_inform">
				<legend class="ag_color">##Select Topic##</legend>
				<div class="ag_infldset">
					<select name="topic_id" class="ag_qjump">
						{foreach from=$topics item=topic}
						<option value="{$topic.id}">{$topic.subject}</option>
						{/foreach}
					</select>
				</div>
			</fieldset>
			<div class="ag_postbuttons">
				<span>
					<input class="ag_button ag_btn_submit" type="submit" name="submit" value="##Submit##" title="##Submit##" accesskey="g" />
					&nbsp;##or##&nbsp;
					<a href="javascript:void(0);" class="ag_btn_goback" title="##Cancel##" onclick="window.parent.document.getElementById('sbox-window').close();">##Cancel##</a>
				</span>
			</div>
		</form>
	</div>

</div> {* Fix for "merge topic" function *}